package com.Hsu.book.service;

import com.Hsu.book.mapper.UserInfoMapper;
import com.Hsu.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Hsu琛君珩
 * @ClassName:UserService
 * @date 2024-01-04
 * @apiNote
 * @Version: v1.0
 */

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo getUserInfoByName(String name){
        return userInfoMapper.selectUserByName(name);
    }
}